Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.platform.annotations.widgets--widgettypes

This contribution is part of XML component org.nuxeo.ecm.platform.annotations.widgets inside nuxeo-annot-gwt-6.0.jar

Extension Point

Extension point widgettypes of component WebLayoutManager.

Contributed Items

  • <widgetType name="document_annotations_count">
          <configuration>
            <sinceVersion>5.7.2</sinceVersion>
            <title>Annotations Count</title>
            <description>
              <p>This widget displays how many annotations a document has.</p>
              <p>
                It requires the following fields configuration: first field maps
                the document model.
              </p>
            </description>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/annotations_count_widget_template.xhtml
          </property>
        </widgetType>

XML Source

<extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widgetType name="document_annotations_count">
      <configuration>
        <sinceVersion>5.7.2</sinceVersion>
        <title>Annotations Count</title>
        <description>
          <p>This widget displays how many annotations a document has.</p>
          <p>
            It requires the following fields configuration: first field maps
            the document model.
          </p>
        </description>
        <categories>
          <category>summary</category>
        </categories>
        <supportedModes>
          <mode>view</mode>
        </supportedModes>
        <!-- no configurable properties -->
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/summary/annotations_count_widget_template.xhtml
      </property>
    </widgetType>

  </extension>